import request from "@/utils/httpRequest";

// 碧划算订单管理列表查询
export function searchOrderList(data = {}) {
  return request({
    url: "/bihs/trade/search",
    method: "post",
    data
  });
}

// 订单统计
export function getTradeStat(data = {}) {
  return request({
    url: "/bihs/trade/stat",
    method: "post",
    data
  });
}
// 佣金获取
export function getTradeRecord(params = {}) {
  return request({
    url: "/bihs/trade/record",
    method: "get",
    params
  });
}

// 同步订单
export function syncOrder(data = {}) {
  return request({
    url: "/bihs/trade/sync",
    method: "post",
    data
  });
}